﻿@inject IStringLocalizer<LinkButtonsOnClick> Localizer

<LinkButton Text="@Localizer["LinkButtonText"]" OnClick="@OnClick" />
<ConsoleLogger @ref="Logger" class="mt-3" />

@code {
    [NotNull]
    private ConsoleLogger? Logger { get; set; }

    private void OnClick()
    {
        Logger.Log($"{DateTimeOffset.Now}: Clicked!");
    }
}
